package com.meixiang.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 作者：黑哥 on 2016/6/26 11:59
 */
public class PaymentBean implements Parcelable {
    private String paymentId;
    private String paymentCode;
    private String paymentName;
    private String paymentLogo;
    private String paymentDesc;

    public String getPaymentId() {
        return paymentId;
    }

    public void setPaymentId(String paymentId) {
        this.paymentId = paymentId;
    }

    public String getPaymentCode() {
        return paymentCode;
    }

    public void setPaymentCode(String paymentCode) {
        this.paymentCode = paymentCode;
    }

    public String getPaymentName() {
        return paymentName;
    }

    public void setPaymentName(String paymentName) {
        this.paymentName = paymentName;
    }

    public String getPaymentLogo() {
        return paymentLogo;
    }

    public void setPaymentLogo(String paymentLogo) {
        this.paymentLogo = paymentLogo;
    }

    public String getPaymentDesc() {
        return paymentDesc;
    }

    public void setPaymentDesc(String paymentDesc) {
        this.paymentDesc = paymentDesc;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.paymentId);
        dest.writeString(this.paymentCode);
        dest.writeString(this.paymentName);
        dest.writeString(this.paymentLogo);
        dest.writeString(this.paymentDesc);
    }

    public PaymentBean() {
    }

    protected PaymentBean(Parcel in) {
        this.paymentId = in.readString();
        this.paymentCode = in.readString();
        this.paymentName = in.readString();
        this.paymentLogo = in.readString();
        this.paymentDesc = in.readString();
    }

    public static final Creator<PaymentBean> CREATOR = new Creator<PaymentBean>() {
        @Override
        public PaymentBean createFromParcel(Parcel source) {
            return new PaymentBean(source);
        }

        @Override
        public PaymentBean[] newArray(int size) {
            return new PaymentBean[size];
        }
    };
}
